import { Controller, Get } from '@nestjs/common'
import { AppService } from './app.service'
import { WillesService } from './willes/willes.service'
// import * as config from 'config'
@Controller('/get')
export class AppController {
  constructor(
    private readonly appService: AppService,
    private readonly willesService: WillesService
  ) {}

  @Get('/hello')
  getHello() {
    // console.log(config.get('Customer')) // 使用config库读取配置文件
    return this.appService.getHello()
  }
}
